import { request } from "@/utils/service"

/** 查  */
export function getBonusList(params: any) {
  return request({
    url: "/sz/cw/PercardBonus/selectPercardBonus",
    method: "get",
    params
  })
}
// 新增
export function addBonust(data: any) {
  return request({
    url: "/sz/cw/PercardBonus/insertPercardBonus",
    method: "post",
    data: data
  })
}

// 修改
export function updateBonust(data: any) {
  return request({
    url: "/sz/cw/PercardBonus/updatePercardBonus",
    method: "put",
    data: data
  })
}

// 删除
export function delBonust(params: any) {
  return request({
    url: "/sz/cw/PercardBonus/deletePercardBonus",
    method: "delete",
    params
  })
}
